package com.qf.fanwang.dao;

import com.qf.fanwang.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserDao {
    public int insert(User user);
    public int delete(int id);
    public int update(Map<String,String> up);
    public User selectAll(int uid);
    public List<User> selectByLike(String key);
    public List<User> selectByPage();
    //动态查询
    public List<User> selectByIds(List<Integer> ids);
    //动态模糊查询
    public List<User> selectAllByCondidtion(User user);

}
